function loadUpdateChunk(chunkId, updatedModulesList) {
  var success = false;
  <%- _global_object %>[<%- _hot_update_global %>] = <%- basicFunction("_, moreModules, runtime") %> {
      for (var moduleId in moreModules) {
          if (<%- HAS_OWN_PROPERTY %>(moreModules, moduleId)) {
              currentUpdate[moduleId] = moreModules[moduleId];
              if (updatedModulesList) updatedModulesList.push(moduleId);
          }
      }
      if (runtime) currentUpdateRuntime.push(runtime);
      success = true;
  };
  // start update chunk loading
  <% if (_with_create_script_url) { %>
  importScripts(<%- CREATE_SCRIPT_URL %>(<%- PUBLIC_PATH %> + <%- GET_CHUNK_UPDATE_SCRIPT_FILENAME %>(chunkId)));
  <% } else { %>
  importScripts(<%- PUBLIC_PATH %> + <%- GET_CHUNK_UPDATE_SCRIPT_FILENAME %>(chunkId));
  <% } %>
  if (!success) throw new Error("Loading update chunk failed for unknown reason");
}